package com.one.material.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.one.material.entity.Material;
import com.one.material.struct.PageResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liZhenHua
 * @since 2021-12-08
 */
public interface IMaterialService extends IService<Material> {

    /**
     * 查询物料根据 material 对象中的属性进行模糊查询
     * @param material 根据条件查询:material对象
     * @param pageNum   当前页
     * @param pageSize 每页总条数
     * @return  PageResult<Material>
     */
    PageResult<Material> getMaterialPageAll(Material material, Integer pageNum, Integer pageSize);


}
